/*
package com.chen.positioning.util;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Test {
    public static void main(String[] args) {
        List<String> list2=new ArrayList<String>();
        list2.add("113.294434");
        list2.add("23.119162");
        System.out.println("old list2:"+list2.toString());
        List<String> newlist=new ArrayList<String>();
        int num1 = new Random().nextInt(100000 - 5000) + 1000;
        int num2 = new Random().nextInt(100000 - 5000) + 1000;
        long count_jd = 0;
        long count_wd = 0;
        System.out.println("随机数num1:"+num1+",num2:"+num2);
        String a=list2.get(0);
        String b=list2.get(1);
        String[] jidu = a.split("\\.");
        if (null!=jidu && jidu.length > 1) {//1234.2345
            //前面的不变，只改后面的数字 get(0)不变 get(1)变
            int aa= Integer.parseInt(jidu[1]);
            count_jd = aa + num1;
            System.out.println(" count_jd:"+count_jd);
//            list2.add(0, );
            newlist.add(jidu[0] +"." +count_jd);
        }
        String[] weidu = b.split("\\.");
        if (null!=weidu && weidu.length > 1) {//1234.2345
            //前面的不变，只改后面的数字 get(0)不变 get(1)变
            int aa= Integer.parseInt(weidu[1]);
            count_wd = aa + num2;
            System.out.println(" count_wd:"+count_wd);
//            list2.add(1, weidu[1] + count_wd);
            newlist.add(weidu[0]+"."  + count_wd);
        }
        System.out.println("new newlist:"+newlist.get(0)+"----"+newlist.get(1));


    }
}
*/
